package com.sniff.atp.enums.status;

import lombok.Getter;

@Getter
public enum OrderDataStatus {
    /**
     *
     * `order_item_status` 商品状态: 1-待采购; 2-采购中; 3-已采购; 4-国内运输中; 5-已入库; 6-检品中; 7-已上架(已清算); 8-待发货; 9-已发货; 10-异常; 11-次品; 12-取消成功; 13-保留库存',
     * `combination_status` 组合状态：1-未组合; 2-组合中；3-组合完成；4-取消组合',
     * `order_composite_status` 平台订单复合状态: 2-待付款(冻结失败订单可再冻结); 4-处理中；8-可发货；16-部分发货；32-已完成',
     *
     */
    // 订单商品状态
    order_item_status_one("待采购", 1),
    order_item_status_two("采购中", 2),
    order_item_status_three("已采购", 3),
    order_item_status_four("国内运输中", 4),
    order_item_status_five("已入库", 5),
    order_item_status_six("检品中", 6),
    order_item_status_seven("已上架", 7),
    order_item_status_eight("待发货", 8),
    order_item_status_nine("已发货", 9),
    order_item_status_ten("异常", 10),
    order_item_status_eleven("次品", 11),
    order_item_status_twelve("取消成功", 12),
    order_item_status_thirteen("保留库存", 13),
    // 组合商品主商品状态
    combination_status_one("未组合", 1),
    combination_status_two("组合中", 2),
    combination_status_three("组合完成", 3),
    combination_status_four("取消组合", 4),
    // 订单状态
    order_composite_status_two("待付款", 2),
    order_composite_status_four("处理中", 4),
    order_composite_status_eight("可发货", 8),
    order_composite_status_sixteen("部分发货", 16),
    order_composite_status_thirtyTwo("已完成", 32),
    ;

    private String description;
    private Integer status;

    OrderDataStatus(String description, Integer status){
        this.description = description;
        this.status = status;
    }

}
